<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>


	<form action="" role='form' class="form-horizontal">
		<div class="container">
				<div class="form-group">
					<label for="" class="col-md-2 text-center">用户名</label>
					<div class="col-md-2">
						<input type="text" name="" id="" placeholder="请输入用户名" class="form-control">
					</div>
				</div>
				<div class="form-group">
					<label for=""  class="col-md-2 text-center">密码</label>
					<div class="col-md-2">
						<input type="password" name="" id="" placeholder="请输入密码" class="form-control" >
					</div>
				</div>
			<div class="form-group">
				<div class="col-lg-10 col-lg-offset-2">
					<input type="checkbox" name="" id="">记住密码
				</div>
			</div>
			<div class="form-group">
				<div class="col-lg-2 col-lg-offset-2">
					<button type="submit" class="btn-block">ok</button>
				</div>
			</div>
		</div>
	</form>
	<br>
	<br>
	<br>
	<br>
	<br>

	<form role="form" class="form-inline">
		<div class="form-group">
			<label class="sr-only">用户</label>
			<input type="text" name="" id="" class="form-control" placeholder="请输入用户名">
		</div>
		<div class="form-group">
			<label></label>
			<input type="password" name="" id="" class="form-control" placeholder="请输入密码">
		</div>
		<div class="form-group">
			<label>选择文件</label>
			<input type="file" >
			<p class="help-block">请选择文件</p>
		</div>
	</form>
</body>
</html>